function templateClick(rowIndex,rowData){
	var id = rowData.id;
	
	var queryParams = $('#productTemplateList').datagrid('options').queryParams;
	queryParams.ptid = id;
	$('#productTemplateList').datagrid({
		url : 'partTemplateController.do?datagridProduct&field=id,productId.name,productId.typeThree.name,productId.manufacturer,productId.model,productSum'
	});
}